From: Kaldari Date: Thu, 10 Jan 2013 01:05:15 +0000 (-0800) Subject: Overriding Vector's footer margin when in print mode X-Git-Tag: 1.31.0-rc.0~20666^2~1 X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=commitdiff_plain;h=2b9e9f6a4a4c3bcfe04270194fd4f9a5b9f5a931;p=lhc%2Fweb%2Fwiklou.git Overriding Vector's footer margin when in print mode Otherwise the footer is strangely shifted 10 or 11em to the right on printed versions of pages (exact amount depends on media mode) Change-Id: Ia2123b08bdf1910304c1e1436418a3eb75126a07 --- diff --git a/resources/Resources.php b/resources/Resources.php index 9987ee1dca..8a760ac3d4 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -97,6 +97,7 @@ return array( 'common/commonInterface.css' => array( 'media' => 'screen' ), 'vector/screen.css' => array( 'media' => 'screen' ), 'vector/screen-hd.css' => array( 'media' => 'screen and (min-width: 982px)' ), + 'vector/print.css' => array( 'media' => 'print' ), ), 'scripts' => 'vector/vector.js', 'remoteBasePath' => $GLOBALS['wgStylePath'], diff --git a/skins/vector/print.css b/skins/vector/print.css new file mode 100644 index 0000000000..1bc0146651 --- /dev/null +++ b/skins/vector/print.css @@ -0,0 +1,3 @@ +div#footer { + margin-left: 0; +}